package com.mt.customer.mapper;

import java.util.List;
import java.util.Map;

import com.mt.customer.entity.CustomerEntity;

public interface CustomerEntityMapper {
    /**
     * 删除
     * 
     * @param customerId
     * @return
     */
    int deleteByPrimaryKey(Integer customerId);

    /**
     * 创建
     * 
     * @param record
     * @return
     */
    int insert(CustomerEntity record);

    /**
     * 查询列表
     * 
     * @param params
     * @return
     */
    List<CustomerEntity> selectList(Map<String, Object> params);

    /**
     * 查询详情
     * 
     * @param params
     * @return
     */
    CustomerEntity selectByPrimaryKey(Map<String, Object> params);

    /**
     * 更新
     * 
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(CustomerEntity record);

}